package com.qiguliuxing.dts.service.base;

import com.qiguliuxing.dts.db.bean.TimeBatchConfig;
import com.qiguliuxing.dts.db.dao.ex.DtsTimeListMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class DtsTimeListService {
	@Resource
	private DtsTimeListMapper dtsTimeListMapper;

	public List<TimeBatchConfig> selectBatchConfig(Map<String,Object> param) {
		return dtsTimeListMapper.selectBatchConfig(param);
	}

	public TimeBatchConfig selectCurrentConfig(Map<String,Object> param) {
		return dtsTimeListMapper.selectCurrentConfig(param);
	}
}
